import com.alibaba.fastjson.JSON;
import com.liumuxian.user.wx.WeixinToken;

public class test {
    public static void main(String[] args) {
        String str="{\"access_token\": \"ACCESS_TOKEN\",\"expires_in\": 7200,\"refresh_token\": \"REFRESH_TOKEN\",\"openid\": \"OPENID\",\"scope\": \"SCOPE\"}";
        WeixinToken weixinToken = JSON.parseObject(str,WeixinToken.class);
        System.out.println(weixinToken);
    }

    public void test1() {

    }
}
